<template>
  <div>
    <h1>这个count每次加2</h1>
    <Count :num='2'/>
    <hr>
    <h1>这个count每次加3</h1>
    <Count :num='3'/>
    <hr>
    <div v-bind="{a:1,b:2}">div</div>
    <div :a='1' :b='2'>div</div>
    <hr>
    <MyHeader v-bind="person"/>
    <hr>
    <Update/>
  </div>
</template>

<script>
import Count from "./components/Count";
import MyHeader from "./components/MyHeader";

export default {
  name: "App",
  data(){
    return {
      person:{
        name:'laowang',
        age:18,
        sex:'nan'
      }
    }
  },
  components: {
    Count,
    MyHeader
  }
};
</script>

<style scoped>
</style>